package com.ssy.lingxi.system.dto.request;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
* 信用权益停用启用请求实体类
* @author wrc
* @date 2020/6/5
*/
public class CreditIndexRequest {
    @NotNull(message = "ID不能为null")
    @ApiModelProperty("信用ID")
    private Long id;

    @NotNull(message = "信用状态不能为null")
    @ApiModelProperty("信用状态：1.启用 0.停用")
    private Integer state;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
